/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.enterprise.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.springblade.core.tenant.mp.TenantEntity;

import java.time.LocalDateTime;

/**
 * 产融云实体类
 *
 * @author BladeX
 * @since 2021-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "EsmsCry对象", description = "产融云")
public class EsmsCry extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	private Long userId;
	/**
	 * 公司ID
	 */
	@ApiModelProperty(value = "公司ID")
	private Long companyId;
	/**
	 * 公司名字
	 */
	@ApiModelProperty(value = "公司名字")
	private String companyName;
	/**
	 * 企业性质
	 */
	@ApiModelProperty(value = "企业性质")
	private String companyType;
	/**
	 * 申请金额
	 */
	@ApiModelProperty(value = "申请金额")
	private Double financingAmount;
	/**
	 * loan时间
	 */
	@ApiModelProperty(value = "loan时间")
	private Long loanTime;
	/**
	 * 申请人名字
	 */
	@ApiModelProperty(value = "申请人名字")
	private String applyName;
	/**
	 * 手机号码
	 */

	@ApiModelProperty(value = "手机号码")
	private String phone;
	/**
	 * 企业基本信息
	 */
	@ApiModelProperty(value = "企业基本信息")
	private String companyMsg;
	/**
	 * 时间戳
	 */
	@ApiModelProperty(value = "时间戳")
	private LocalDateTime ts;
	/**
	 * 审核状态：1审核通过，2审核失败
	 */
	@ApiModelProperty(value = "审核状态：1审核通过，2审核失败")
	private Integer auditStatus;

	/**
	 * 企业账户
	 */
	@ApiModelProperty(value = "企业账户")
	private String enterpriseAccount;

	/**
	 * 阅读状态（默认0，1:状态改变未查阅，2已查阅）
	 */
	@ApiModelProperty(value = "阅读状态（默认0，1:状态改变未查阅，2已查阅）")
	private Integer readStatus;
}
